package com.yfqy.app.modules.address.vo;

import lombok.Data;

@Data
public class DeliveryAddressVO {
    private Long id;
    private String receiverName;
    private String receiverPhone;
    private String receiverProvince;
    private String receiverCity;
    private String receiverDistrict;
    private String receiverAddress;
    private String postCode;
    private Boolean isDefault;
    private String addressTag;
    private String fullAddress;
    private Byte status;

    public String getFullAddress() {
        return String.format("%s%s%s%s",
                receiverProvince,
                receiverCity,
                receiverDistrict,
                receiverAddress);
    }
}
